<template>
    <div class="box">
        <router-view></router-view>
        <div class="title">
            <i></i>
            <h1>photo</h1>
        </div>
        <div class="lore">
            <div class="contanier">
                <router-link to="/register">
                    <button>注册</button>
                </router-link>
                <router-link to="/login">
                    <button>登录</button>
                </router-link>
            </div>
        </div>
    </div>
</template>
<style lang="scss" scoped>
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;700&display=swap');
.box{
    width: 375px;
    height: 667px;
    margin: 0 auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../assets/img/cover.png);
    overflow: hidden;
    position: relative;
    .title{
        width: 206px;
        height: 68px;
        margin: 260px auto 0;
        font-size: 48px;
        font-weight: bold;
        font-family: 'Comfortaa', cursive;
        display: flex;
        justify-content: space-between;
        
        i{
            width: 20px;
            height: 20px;
            border-bottom: 15px solid #000;
            border-right: 15px solid #000;
            border-top: 15px solid #FF00D6;
            border-left: 15px solid #FF00D6;
            margin-top: 9px;
        }
        h1{
            line-height: 68px;
            height: 68px;
        }
    }
    .lore{
        position: absolute;
        bottom: 60px;
        margin-left: 37px;
        .contanier{
            width: 300px;
            height: 30px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            button{
                width: 100px;
                height: 52px;
                border: 1px solid #000000;
                background-color: #ffffff;
                font-size: 13px;
                border-radius: 10px;
            }
        }
    }
}
</style>